package com.yvdedu.hospital.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import com.yvdedu.hospital.entity.Hospital;

@Service
public interface HospitalService {
	
	public List<Hospital> hospitalquery();
	
	public List<Hospital> hospitalNamequery(Hospital hospital);
	
	public void hospitaladd( Hospital hospital );
	
	public void hospitaledit( Hospital hospital );
	
	public void hospitaldelete( int id );
	
//	public List<Hospital> hospitalNamequeryl(@Param("hospitalName") String hospitalName);

	List<Hospital> hospitalNamequeryl(Hospital hospitalName);

}
